package cn.com.hhrcw.personal.thirdLogin.params;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;

/**
 * @author lixingxing
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class KeepAliveParams {

    /**
     * H5-手机H5 PC-PC端
     */
    @NotBlank(message = "场景不能为空")
    private String sence;

    /**
     * 保活天数 最大为30天（从最后1次登录开始）
     */
    @Max(value = 30)
    private int dayNum;
}
